📚 node [[logistic_regression|logistic regression]]
Welcome! Nobody has contributed anything to 'logistic_regression|logistic regression' yet. You can:
  • Write something in the document below!
    • There is at least one public document in every node in the Agora. Whatever you write in it will be integrated and made available for the next visitor to read and edit.
  • Write to the Agora from social media.
    • If you follow Agora bot on a supported platform and include the wikilink [[logistic_regression|logistic regression]] in a post, the Agora will link it here and optionally integrate your writing.
  • Sign up as a full Agora user.
    • As a full user you will be able to contribute your personal notes and resources directly to this knowledge commons. Some setup required :)
⥅ related node [[logistic_regression]]
⥅ related node [[multi class_logistic_regression]]
⥅ node [[logistic_regression]] pulled by Agora

logistic regression

Go back to the [[AI Glossary]]

A classification model that uses a sigmoid function to convert a linear model's raw prediction (

) into a value between 0 and 1. You can interpret the value between 0 and 1 in either of the following two ways:

As a probability that the example belongs to the positive class in a binary classification problem.
As a value to be compared against a classification threshold. If the value is equal to or above the classification threshold, the system classifies the example as the positive class. Conversely, if the value is below the given threshold, the system classifies the example as the negative class. For example, suppose the classification threshold is 0.82:
    Imagine an example that produces a raw prediction `y^1` of 2.6. The sigmoid of 2.6 is 0.93. Since 0.93 is greater than 0.82, the system classifies this example as the positive class.
    Imagine a different example that produces a raw prediction of 1.3. The sigmoid of 1.3 is 0.79. Since 0.79 is less than 0.82, the system classifies that example as the negative class.

Although logistic regression is often used in binary classification problems, logistic regression can also be used in multi-class classification problems (where it becomes called multi-class logistic regression or multinomial regression).

📖 stoas
⥱ context